package com.summer.boss.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum UserTypeEnum {
    SYSTEM_USER(1, "系统用户"),
    API_USER(2, "接口用户");

    @EnumValue
    private Integer code;
    @JsonValue
    private String name;
}
